package cn.seamus.marksman.http;

import java.net.URL;
import java.util.Map;

import org.apache.http.client.methods.CloseableHttpResponse;

import cn.seamus.marksman.common.MarksmanException;

public interface IHttpExecuter {
    CloseableHttpResponse executeGet(URL url, Map<String, Object> params) throws MarksmanException;

    CloseableHttpResponse executePost(URL url, Map<String, Object> params) throws MarksmanException;

    void close();
}
